package com.earl.common.constant;

import lombok.Data;


@Data
public class SystemConstant {
    /**
     * 系统码
     */
    public static final String HEADER_SYSTEM_CODE = "systemCode";
    /**
     * 局域网ip，标识
     */
    public static final String HEADER_HOST_IP = "hostIp";
    /**
     * 真实请求ip
     */
    public static final String HEADER_REQUEST_IP = "requestIp";

    /**
     * 用户传递信息
     */
    public static final String HEADER_USER_INFO = "user_info";
    /**
     * 语言
     */
    public static final String HEADER_SFC_LANG = "sfcLang";
    /**
     * url上的token
     */
    public static final String URL_TOKEN = "token";

    /**
     * 姓名
     */
    public static final String HEADER_NAME = "name";
    public static final String GATEWAY_ROUTES = "gateway:route:";
    /**
     * jwt缓存名称
     */
    public static final String LOGIN_JWT_KEY = "login:jwt:{0}:{1}";
}
